﻿<UserControl x:Class="AVLTutorial.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400" xmlns:dataInput="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data.Input">

    <Canvas x:Name="LayoutRoot" Background="White" Loaded="LayoutRoot_Loaded">
        <Button Canvas.Left="240" Canvas.Top="12" Content="FPS" Name="FPSDisplay" Visibility="Collapsed"/>
        <Button Canvas.Left="12" Canvas.Top="12" Content="Add" Name="addButton" Click="addButton_Click" />
        <Button Canvas.Left="90" Canvas.Top="12" Content="Remove" Name="removeButton" Click="removeButton_Click" />
        <TextBox Canvas.Left="45" Canvas.Top="12" Height="23"  Width="40" x:Name="newNodeValue" />
        <Button Canvas.Left="12" Canvas.Top="41" Content="Add Random" Name="addRandomButton" Click="addRandomButton_Click" />
        <Slider Canvas.Left="20" Canvas.Top="150" Maximum="6" Minimum="0.25" Value="0.8" Width="100" x:Name="SpeedSlider" ValueChanged="SpeedSlider_ValueChanged"/>
        <CheckBox Canvas.Left="20" Canvas.Top="190" Content="Manual Stepping" x:Name="manualStepOn"/>
        <Button Canvas.Left="20" Canvas.Top="220" Content="Next Step" Click="nextStep_Click" x:Name="NextStepButton"/>
        <dataInput:Label Canvas.Left="20" Canvas.Top="125" Content="Animation Speed (1.3s)" x:Name="animationSpeedLabel"/>
    </Canvas>
</UserControl>
